import Table from './Table';
import Search from './Search';
import type { SearchTableProps } from './types';

export default function SearchTable(props: SearchTableProps) {
  const { smartSearchOptions = {}, gridOptions = {} } = props;

  return (
    <>
      <Search {...smartSearchOptions} />
      <div style={{ marginTop: 10 }} />
      <Table {...gridOptions} />
    </>
  );
}
